package com.school.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtTeacherclassDao;
import com.school.entity.HljtTeacher;
import com.school.entity.HljtTeacherclass;
import com.school.entity.web.ClassTeacher;
import com.school.entity.web.TeacherClass;
import com.school.service.HljtTeacherclassService;
@Service
public class HljtTeacherclassServiceImpl implements HljtTeacherclassService {
	@Autowired
	private HljtTeacherclassDao hljtTeacherclassDao;

	@Override
	public HljtTeacherclass findTeacher(String Subject) {
		return hljtTeacherclassDao.findTeacher(Subject);
	}

	@Override
	public HljtTeacherclass findTeacherInformation(Integer classId, Integer type) {
		return hljtTeacherclassDao.findTeacherInformation(classId, type);
	}

	@Override
	public List<HljtTeacherclass> findClassTeacher(Integer classid) {
			return hljtTeacherclassDao.findClassTeacher(classid);
	}

	@Override
	public String selsectTeacherName(Integer classid, String subject) {
		return hljtTeacherclassDao.selsectTeacherName(classid, subject);
	}

	@Override
	public List<ClassTeacher> findTeacherclass() {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.findTeacherclass();
	}

	@Override
	public List<HljtTeacherclass> findteacherall(Integer pageSize,Integer  pageIndex) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.findteacherall(pageSize, pageIndex);
	}

	@Override
	public List<HljtTeacherclass> getteacher(Integer teacherid) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.getteacher(teacherid);
	}

	@Override
	public List<TeacherClass> selectteacher(Integer teacherid) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.selectteacher(teacherid);
	}



	@Override
	public Integer deleteclassteacher(Integer teacherid) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.deleteclassteacher(teacherid);
	}

	@Override
	public List<HljtTeacher> likefindteacher(String teachername, Integer pageSize, Integer pageIndex) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.likefindteacher(teachername, pageSize, pageIndex);
	}

	@Override
	public Integer addclassteacher(HljtTeacherclass hljtTeacherclass) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.addclassteacher(hljtTeacherclass);
	}

	@Override
	public List<HljtTeacherclass> getTeacherall(Integer classid,Integer pageSize,Integer pageIndex) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.getTeacherall(classid,pageSize,pageIndex);
	}

	@Override
	public HljtTeacherclass findTeachers(Integer teacherid) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.findTeachers(teacherid);
	}

	@Override
	public Integer deleteTeachers(Integer id) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.deleteTeachers(id);
	}

	@Override
	public Integer updateTeacher(HljtTeacherclass hljtTeacherclass) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.updateTeacher(hljtTeacherclass);
	}

	@Override
	public Integer selsectClaissTeacher(Integer classid, Integer teacherid) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.selsectClaissTeacher(classid, teacherid);
	}

	@Override
	public Integer selsectClaissTeachers(Integer classid, Integer teacherid) {
		// TODO Auto-generated method stub
		return hljtTeacherclassDao.selsectClaissTeachers(classid, teacherid);
	}

	

	
	

}
